package im.composer.audio.outputstream.flac;

import javax.sound.sampled.AudioFileFormat.Type;

import org.tritonus.share.sampled.file.AudioOutputStream;

import im.composer.audio.outputstream.AbstractAudioBuilder;

public class FLACBuilder extends AbstractAudioBuilder {

	public static final Type TYPE = new Type("FLAC", "flac");

	@Override
	public Type getType() {
		return TYPE;
	}

	@Override
	public AudioOutputStream build() {
		return new FLACAudioOutputStream(dataOutputStream, frameCount, audioFormat);
	}

}
